.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

html,
body {
    margin: 0;
}

.wrap-item {
    transition: all 0.4s;
}

.item {
    transition: all 0.4s;
}